Skip to content

Move to SNES solver for dolfinx>=0.10 and be ready for dolfinx-adjoint#132

Merged
finsberg merged 11 commits into
mainfrom
change-newton-solver
Mar 27, 2026
Merged

Move to SNES solver for dolfinx>=0.10 and be ready for dolfinx-adjoint#132
finsberg merged 11 commits into
mainfrom
change-newton-solver

Conversation

@finsberg
Copy link
Copy Markdown
Owner

@finsberg finsberg commented Dec 21, 2025

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

  • Fix bug in active stress formulation
  • Use dolfinx.fem.petsc.NonlinearProblem and use built-in PetSC SNES solver rather than scifem.NewtonSolver. Also make sure to set the appropriate petsc options.
  • Make it possible to pass cutsom Function type to prepare for dolfinx-adjoint.

@finsberg finsberg marked this pull request as ready for review March 27, 2026 17:49
@finsberg finsberg merged commit 0e00712 into main Mar 27, 2026
7 checks passed
@finsberg finsberg deleted the change-newton-solver branch April 11, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant